package com.imot.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangjiah
 * @since 2023-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ema_exception_record")
@ApiModel(value="EmaExceptionRecord对象", description="")
public class EmaExceptionRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "具体的故障信息")
    private String exceptionMsg;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "异常位置")
    private String exceptionLocation;

    @ApiModelProperty(value = "异常次数")
    private Integer exceptionTime;

    @ApiModelProperty(value = "监测时间")
    private LocalDateTime date;

    @ApiModelProperty(value = "异常等级")
    private String exceptionLevel;

    @ApiModelProperty(value = "异常确认")
    private String exceptionHandledFlag;

    @ApiModelProperty(value = "设备信息记录表的id逻辑外键")
    private Integer emaRecordId;

    @ApiModelProperty(value = "设备目标参数id逻辑外键")
    private Integer targetParametersId;

    @ApiModelProperty(value = "异常参数")
    private String exceptionParameters;

    @ApiModelProperty(value = "监测报告")
    private String recordReport;


}
